package com.edu.account.mapper;

import com.edu.account.entity.TAccount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dingchengyu
 * @since 2022-05-13
 */
@Mapper
public interface TAccountMapper extends BaseMapper<TAccount> {
    int deductAccount(@Param("userId") Long userId, @Param("money")Long money);
}
